<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0086)http://sxsckjxy.chineseall.cn/sso/login.jsps?redirectUrl=http://sxsckjxy.chineseall.cn -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<meta name="keywords" content="art,web">
<meta name="description" content="artWelcome">
<title>登录 </title>
<link href="/登录_files/layout.css" rel="stylesheet" type="text/css">

<!--<script src="/登录_files/hm.js"></script><script type="text/javascript">-->
<!--a=setInterval(function(){if(typeof jQuery!='undefined'){s=document.createElement('script');s.src='http://html.chineseall.cn/assets/script/jquery.md5.js';document.head.append(s)};clearInterval(a);},1000)-->
<!--</script>-->
<style type="text/css">
.main {
    height: auto;
}
.layout {
    background: none repeat scroll 0 0 transparent;
    border: 0 none;
}
.loginTag {
    margin: auto;
    padding: 50px 0;
    width: 360px;
}
.loginTag dt {
    background: url("/common/style/login.png") repeat scroll 0 0 transparent;
    height: 60px;
}
.loginTag dd {
    padding: 10px;
}
.loginTag dd.sub {
    padding-left: 100px;
}
.loginTag input.subbut {
    background: url("/common/style/login.png") repeat scroll -5px -383px transparent;
    border: 1px solid #E8DCB4;
    height: 22px;
    line-height: 22px;
    padding: 0;
    width: 80px;
}
.loginTag input.subbut:hover {
    background-position: -107px -380px;
}
.loginTag input {
    vertical-align: middle;
}
.loginTag dt.lgoin {
    background-position: 0 -230px;
}
.loginTag dt.passFix {
    background-position: 0 -164px;
}
.loginTag dt.passReset {
    background-position: 0 -87px;
}
.loginTag dd.infoBlue {
    background: none repeat scroll 0 0 #DAEFF2;
    border: 1px solid #037A9C;
    color: #037A9C;
    padding: 5px;
    text-align: center;
}
.layout.maps {
    font: bold 14px/24px verdana;
}
.layout.maps a {
    font-weight: normal;
}
.layout.maps .p10 a {
    margin-left: 10px;
}
.titcont {
    background: url("/common/style/all/botbg.jpg") no-repeat scroll center bottom transparent;
    padding: 20px 10px;
}
.infobox {
    background: none repeat scroll 0 0 #FFF9CD;
    border: 1px solid #F9B550;
    color: #FE6700;
    padding: 5px;
    text-align: center;
}

.loginTag {
	background-color: white;
	border: 1px solid #D3D3D3;
	padding: 20px;
	margin: 40px auto;
}
</style>
<script src="/登录_files/jquery.md5.js"></script></head>
<body>
<style>
body {
	background:  center top no-repeat;
}
</style>
<style type="text/css">
#myroomtag { width:200px; height:116px; position:absolute; top:30px; right:2px; display:none; z-index:1000; }
#myroomtag .bg { border:#000000 1px solid; height:134px; background:#000000; opacity:0.5; filter: Alpha(Opacity=50); position:relative; z-index:100; }
#myroomtag .tag { position:absolute; top:10px; left:0; line-height:24px; z-index:101; }
#myroomtag .tag a { margin-left:26px;}
#myroomtag .tag a:hover { color:red;}

#mychildrentag { width:200px; height:116px; position:absolute; top:30px; right:2px; display:none; z-index:1000; }
#mychildrentag .bg { border:#000000 1px solid; height:134px; background:#000000; opacity:0.5; filter: Alpha(Opacity=50); position:relative; z-index:100; }
#mychildrentag .tag { position:absolute; top:10px; left:0; line-height:24px; z-index:101; }
#mychildrentag .tag a { margin-left:26px;}
#mychildrentag .tag a:hover { color:red;}

.baruser { float:right; position:relative; z-index:3100; padding-right:10px; }
.baruser .name { color:#ff6600;}
.baruser .myroom { margin-right:5px; padding-right:8px; cursor:pointer; background:url(http://html.chineseall.cn/assets/v1/common/style/agency/common/icon_jt.png) no-repeat right 5px;}

#suborgtag { width:200px; height:116px; position:absolute; top:30px; right:2px; display:none; z-index:1000; }
#suborgtag .bg { border:#000000 1px solid; height:114px; background:#000000; opacity:0.5; filter: Alpha(Opacity=50); position:relative; z-index:100; }
#suborgtag .tag { position:absolute; top:10px; left:0; line-height:24px; z-index:101; }
#suborgtag .tag a { margin-left:26px;}
#suborgtag .tag a:hover { color:red;}

.baruser .suborg { margin-right:5px; padding-right:8px; cursor:pointer; background:url(http://html.chineseall.cn/assets/v1/common/style/agency/common/icon_jt.png) no-repeat right 5px;}

</style>
<link href="/登录_files/util.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="/登录_files/head.js" defer=""></script>
<script type="text/javascript" src="/登录_files/util.js"></script>



<div class="header">

	<div class="header-bg1">
		<div class="headTop" style="overflow:visible;">
			<div class="headMenu" style="float:left;">
				<input type="hidden" id="orgCode" name="orgCode" value="2103">
					<a href="http://sxsckjxy.chineseall.cn/">四川科技职业学院</a>
			</div>
			<div id="loginlink" class="baruser">HI， <a style="cursor: pointer;" onclick="loginBox();">请登录</a><a href="http://sxsckjxy.chineseall.cn/sso/reg.jsps?orgCode=2103">注册</a><a target="_blank" href="http://sxsckjxy.chineseall.cn/html/app/www/shouce">使用手册</a></div>
		</div>
	</div>

	<script language="javascript">
		$(document).ready(function(){
			$.ajax({url: '/sso/loginUserInfo.jsps?t='+new Date().getTime(),
				type: 'GET',
				dataType: 'text',
				timeout: 1000,
				error: function(){},
				success: function(data){
					var appType = 0;
                    var orgCode = $('#orgCode').val();
					if(data.length>0){
						var json = eval('(' + data + ')');
						if(json.id>0){
							$("#login_div").hide();
							$("#displayname").html(json.displayName);
							if(json.displayName.length==0){
								$("#displayname").html(json.userName);
							}
							$("#letternum").html("书信");
							if(json.letterNum>0){
								$("#letternum").html("书信("+json.letterNum+")");
							}if(!json.orgCode){
								$("#myorg").remove();
							}else{
								if(json.domain){
									$("#myorg")[0].href="http://"+json.domain+"/org/show/index";
								}else{
									$("#myorg")[0].href="/org/show/"+json.orgCode;
								}
							}
							if(json.isManagerUser!=2){
								$("#orgmanage").remove();
							}
							if(json.domain.length>0){
								$("div#loginlink a").each(function(){
									//var hh='http://'+json.domain+$(this).attr("href");
									//$(this).attr("href",hh);
								});
							}
						}else{
							if(appType == 0 ){
							    //如果机构为中央电视台音像资料馆（3390），则把使用手册隐藏
							    if(orgCode != 3390){
                                    $("#loginlink").html("HI， <a style='cursor: pointer;' onclick='loginBox();' >请登录</a><a href='/sso/reg.jsps?orgCode=2103'>注册</a><a target='_blank' href='/html/app/www/shouce'>使用手册</a>");
								}else{
                                    $("#loginlink").html("HI， <a style='cursor: pointer;' onclick='loginBox();' >请登录</a><a href='/sso/reg.jsps?orgCode=2103'>注册</a>");
								}
							}else if(appType == 8){
								$("#loginlink").html("HI， <a style='cursor: pointer;' href='/sso/showLogin' >请登录</a><a href='/sso/reg.jsps?orgCode=2103'>注册</a><a target='_blank' href='/html/app/www/shouce'>使用手册</a>");
							} else{
								$("#loginlink").html("HI， <a style='cursor: pointer;' href='/sso/showLogin' >请登录</a>");
							}
						}
					}else{
						if(appType == 0){
                            //如果机构为中央电视台音像资料馆（3390），则把使用手册隐藏
						    if(orgCode != 3390){
                                $("#loginlink").html("HI， <a style='cursor: pointer;' onclick='loginBox();' >请登录</a><a href='/sso/reg.jsps?orgCode=2103'>注册</a><a target='_blank' href='/html/app/www/shouce'>使用手册</a>");
							}else{
                                $("#loginlink").html("HI， <a style='cursor: pointer;' onclick='loginBox();' >请登录</a><a href='/sso/reg.jsps?orgCode=2103'>注册</a>");
							}
						}else if(appType == 8){
							$("#loginlink").html("HI， <a style='cursor: pointer;' href='/sso/showLogin' >请登录</a><a href='/sso/reg.jsps?orgCode=2103'>注册</a><a target='_blank' href='/html/app/www/shouce'>使用手册</a>");
						} else{
							$("#loginlink").html("HI， <a style='cursor: pointer;' href='/sso/showLogin' >请登录</a>");
						}
					}
				}
			});
		});
		</script>
            <div class="headMain">
			<h1 style="font-size:35px;color: #0000FF;">四川科技职业学院11</h1>
			<div class="headSearch">
			<input class="ipt" type="text" id="searchKey" value="" placeholder="请输入书名、作者、出版社">
			<input class="btn" type="button" onclick="search(0);" value="">
			</div>

	</div>
	<div class="header-img">
	</div>
	<div class="header-bg2">
		<div class="headNav" id="channels">
					<ul>
					<li class="aIndex"><a href="http://sxsckjxy.chineseall.cn/org/show/index">首页</a></li>
					<li>
						<a href="http://sxsckjxy.chineseall.cn/org/show/categorySort/book2_boutique/37/0">
							精品推荐
						</a>
					</li>
					<li>
						<a href="http://sxsckjxy.chineseall.cn/org/show/selfsort/150/0">
							最新上架
						</a>
					</li>
					</ul>
					<ul>
					<li>
						<a href="http://sxsckjxy.chineseall.cn/org/show/selfsort/154/0">
							国学
						</a>
					</li>
					<li>
						<a href="http://sxsckjxy.chineseall.cn/org/show/selfsort/151/0">
							名家
						</a>
					</li>
					<li>
						<a href="http://sxsckjxy.chineseall.cn/book/audioBooks">
							听书
						</a>
					</li>
					</ul>
					<ul>
					<li>
						<a href="http://sxsckjxy.chineseall.cn/magazine/dltx">
							期　刊
						</a>
					</li>
					<li>
						<a href="http://sxsckjxy.chineseall.cn/org/show/activity/1/0">
							读书活动
						</a>
					</li>
					<li>
						<a href="http://sxsckjxy.chineseall.cn/user/collection.jsps">
							我的书架
						</a>
					</li>
					<li>
						<a href="http://sxsckjxy.chineseall.cn/org/show/search/all/0">
							阅览室
						</a>
					</li>
					</ul>
					<ul class="nob">
					<li>
						<a href="http://www.chineseall.cn/wsf/index.html">
							客户端下载
						</a>
					</li>
					<li>
						<a href="http://sxsckjxy.chineseall.cn/book/account/synclogin/xuetangx">
								<img src="/登录_files/new.gif">
							慕课
						</a>
					</li>
			</ul>
		</div>
		<script type="text/javascript">
			$("#channels").children().last().attr('class','nob');
		</script>
		<div class="headBottom">
			<dl style="width: 590px;">
				<dt>热门分类：</dt>
				<dd><a href="http://sxsckjxy.chineseall.cn/org/show/sort/I/0" target="_blank">文学</a></dd>
				<dd><a href="http://sxsckjxy.chineseall.cn/org/show/sort/I24/0" target="_blank">小说</a></dd>
				<dd><a href="http://sxsckjxy.chineseall.cn/org/show/sort/J/0" target="_blank">艺术 </a></dd>
				<dd><a href="http://sxsckjxy.chineseall.cn/org/show/sort/F/0" target="_blank">经济</a></dd>
				<dd><a href="http://sxsckjxy.chineseall.cn/org/show/selfsort/155/0" target="_blank">职场</a></dd>
				<dd><a href="http://sxsckjxy.chineseall.cn/org/show/sort/K/0" target="_blank">历史</a></dd>
				<dd><a href="http://sxsckjxy.chineseall.cn/org/show/sort/K81/0" target="_blank">传记</a></dd>
				<dd><a href="http://sxsckjxy.chineseall.cn/org/show/sort/Z2/0" target="_blank">百科</a></dd>
				<dd><a href="http://sxsckjxy.chineseall.cn/org/show/selfsort/152/0" target="_blank">幽默</a></dd>
				<dd><a href="http://sxsckjxy.chineseall.cn/org/show/sort/E/0" target="_blank">军事</a></dd>
			</dl>
			<ul style="width: 360px;">
				<li class="b1">400-9622-585</li>
			</ul>
		</div>
	</div>
</div>

<script type="text/javascript">
	function search(file){
		console.log("---------"+file);
		var searchKey = $('#searchKey').val();
		var pattern = new RegExp("[`~!@#$^&amp;*()=|{}':;',\\[\\].<>/?~！@#￥……&amp;*（）——|{}【】‘；：”“'。，、？]");
		var rs = "";
		for (var i = 0; i < searchKey.length; i++) {
		rs = rs + searchKey.substr(i, 1).replace(pattern, '');
	}
		if(rs == '')
			rs = 'all';
		window.location.href = '/org/show/2103/search/'+ file+'/' + rs + '/0';
	}
</script>




<div class="layout">
<form id="login" name="login" onsubmit="return submitForm()" action="http://localhost:8081/lib/login" method="post">
	<dl class="loginTag">
		<dt class="lgoin"></dt>
        <dd><span id="errMsg" style="text-align:center;color:red;"></span></dd>
		<dd>账号：<input type="text" size="30" name="userName" value="" id="userName"><span id="userNameErrorInfo" style="display:none;" class="error"></span></dd>
		<dd>密码：<input type="password" size="30" name="userPass" id="userPass"><span id="userPassErrorInfo" style="display:none;" class="error"></span></dd>
		<dd><label><input type="checkbox" name="rememberMe" value="1">记住我</label>
		<input type="hidden" id="redirectUrl" name="redirectUrl" value="http://sxsckjxy.chineseall.cn">
		</dd>
		<dd class="sub"><input id="loginBt" class="subbut" type="button" value="登录"></dd>
        <dd><p style="color:red">为了保证您的账号安全，请及时修改密码，密码至少得是8位以上且包含3种以上字符 （字母、数字、大小写、或特殊字符）。</p></dd>
	</dl>
</form>
</div>


<script type="text/javascript" src="/登录_files/jquery-1.4.4.min.js"></script>
<script src="https://cdn.bootcss.com/jquery-cookie/1.4.1/jquery.cookie.js"></script>

<script type="text/javascript">
	function submitForm(){
		if(document.getElementsByName('userName')[0].value.trim() == ''){
			document.getElementById('userNameErrorInfo')
			.innerHTML = '请填写用户名';
			document.getElementById('userNameErrorInfo').style.display = 'block';
			return false;
		}else{
			document.getElementById('userNameErrorInfo').style.display = 'none';
		}
		if(document.getElementsByName('userPass')[0].value.trim() == ''){
			document.getElementById('userPassErrorInfo')
			.innerHTML = '请填写密码';
			document.getElementById('userPassErrorInfo').style.display = 'block';
			return false;
		}else{
			document.getElementById('userPassErrorInfo').style.display = 'none';
		}
		return true;
	}


    $("#loginBt").click(function(){
        var userName = $("#userName").val();
        var userPass = $("#userPass").val();
        var redirectUrl = $("#redirectUrl").val();
        if(!userName){
            $("#errMsg").html("请填写用户名!");
            return false;
        }
        if(!userPass){
            $("#errMsg").html("请填写密码!");
            return false;
        }
        $.ajax({
            url: "/lib/login",
            async: true,
            cache: false,
            type: "POST",
            dataType:"json",
            data:{name:userName,password:userPass},
            success: function (data){
            	var user = data.data
				$.cookie('userId', user.id, { expires: 7, path: '/' });
				$.cookie('name', user.name, { expires: 7, path: '/' });
				console.log(user.id)
				window.location.href = "index";
            }
        });
    });
	</script>






<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F961aa2cba564c3f71bfbb0a4cf919ac9' type='text/javascript'%3E%3C/script%3E"));
</script><script src="/登录_files/h.js" type="text/javascript"></script>
<script>
	var _hmt = _hmt || [];
	(function() {
		var hm = document.createElement("script");
		hm.src = "https://hm.baidu.com/hm.js?4d5ab58054d453c3b8446c8c02fa79f6";
		var s = document.getElementsByTagName("script")[0];
		s.parentNode.insertBefore(hm, s);
	})();
</script>





</body></html>
